<include file="Public:header" />
<div class="container main"> <include file="Public:left" />
  <div class="w790">
  <h1><a href="{:U('index')}">返回列表</a></h1>
    <form class="checkoutform" action="{:U('update')}" method="post">
    <input type="hidden" name="id" value="{$info.id}" />
    <table class="table table-bordered" align="center" width="100%" cellpadding="0" cellspacing="0">
    <tr valign="baseline">
      <td nowrap="nowrap" align="right">变量名:</td>
      <td><input type="text" name="name" size="32" id="name" value="{$info.name}" /></td>
    </tr>
    <tr valign="baseline">
      <td nowrap="nowrap" align="right">配置类型:</td>
      <td>
        <p>
          
          <label>
            <input name="type" type="radio" id="RadioGroup1_1" value="0" <eq name="info['type']" value="0">checked="checked"</eq> />
            文本框</label>
<br />
          <label>
            <input name="type" type="radio" id="RadioGroup1_3" value="1" <eq name="info['type']" value="1">checked="checked"</eq> />
            多行文本</label>
<br />
          <label>
            <input type="radio" name="type" value="2" id="RadioGroup1_2" <eq name="info['type']" value="2">checked="checked"</eq> />
            下拉框</label>
          <br />
          <label>
            <input name="type" type="radio" id="RadioGroup1_2" value="3" <eq name="info['type']" value="3">checked="checked"</eq> />
            编辑框</label>
          
          <br /><label>
            <input name="type" type="radio" id="RadioGroup1_2" <eq name="info['type']" value="5">checked="checked"</eq> value="5" />
            布局编辑器</label>
          <br />
          <label>
            <input name="type" type="radio" id="RadioGroup1_2" value="4" <eq name="info['type']" value="4">checked="checked"</eq> />
            图片</label>
        </p></td>
    </tr>
    <tr valign="baseline">
      <td nowrap="nowrap" align="right">所属组</td>
      <td><select name="group_id" id="group_id">
      <volist name="group_list" id="vo">
      <option  <eq name="info['group_id']" value="$vo['id']">selected="selected"</eq> value="{$vo.id}">{$vo.title}</option>
      </volist>
      </select></td>
    </tr>
    <tr valign="baseline">
      <td nowrap="nowrap" align="right">表单元素代码(使用json)</td>
      <td><textarea name="_select" id="_select" cols="45" rows="5">{$info._select}</textarea></td>
    </tr>
    <tr valign="baseline">
      <td nowrap="nowrap" align="right">备注</td>
      <td><textarea name="remark" id="remark" cols="45" rows="5">{$info.remark}</textarea></td>
    </tr>
    <tr valign="baseline">
      <td colspan="2" align="center" nowrap="nowrap"><input type="submit" value="提交" /></td>
    </tr>
  </table>
    </form>
  </div>
  <div class="clear"></div>
</div>
</body></html>